set -e
TOMCAT_HOME="/root/apache-tomcat-10.1.33";

cp /root/migration/drawable-xxhdpi/ ${TOMCAT_HOME}/webapps/drawable_server -r
python3 /root/debian/dev/py/img/compress.py
${TOMCAT_HOME}/bin/catalina.sh stop
${TOMCAT_HOME}/bin/catalina.sh run
#cp /root/migration/demo/drawable-xxhdpi/ apache-tomcat-10.1.33/webapps/ -r
